export default function () {
    return {
        Option: {
            // title: {
            //     text: '价值创造',
            //     left: 'center'
            // },
            color: ['#61A8FF'],
            grid: {
                left: '-10%',
                right: '14%',
                bottom: '5%',
                top: '15%',
                containLabel: true
            },
            xAxis: [{
                show: false
            },
            {
                show: false
            }
            ],
            yAxis: {
                type: 'category',
                axisLabel: {
                    show: true,
                    color: '#00C5CD',
                    formatter: function(value) {
                        return
                    },
                    fontSize: 20,
                    padding: [5, 5, 5, 5]
                },
                itemStyle: {

                },
                axisTick: {
                    show: false
                },
                axisLine: {
                    show: false
                },
                data: [7, 6]
            },
            series: [
                {
                    show: true,
                    type: 'bar',
                    barGap: '-100%',
                    barWidth: '35%',
                    itemStyle: {
                        normal: {
                            // barBorderRadius: 20,
                            // color: 'rgba(102, 102, 102,0.5)'
                            color: '#ebedf9'
                        }
                    },
                    z: 1,
                    data: [100, 100, 100]
                },
                {
                    show: true,
                    type: 'bar',
                    barGap: '-100%',
                    barWidth: '35%',
                    itemStyle: {
                        normal: {
                            // barBorderRadius: 20,
                            color: {
                                colorStops: [{
                                    offset: 0,
                                    color: '#3dc0e9'
                                }, {
                                    offset: 1,
                                    color: '#45e3cf'
                                }],
                                globalCoord: false
                            }
                        }
                    },
                    max: 1,
                    label: {
                        normal: {
                            show: true,
                            textStyle: {
                                color: '#fff'
                            },
                            position: 'inside'
                        }
                    },
                    labelLine: {
                        show: false
                    },
                    z: 2,
                    data: [50, 40, 90]
                },
                {
                    show: true,
                    type: 'bar',
                    xAxisIndex: 1,
                    barGap: '-100%',
                    barWidth: '25%',
                    itemStyle: {
                        normal: {
                            // barBorderRadius: 20,
                            color: 'rgba(22,203,115,0.05)'
                        }
                    },
                    label: {
                        normal: {
                            show: true,
                            position: [0, '-100%'],
                            rich: {
                                black: {
                                    color: '#000'
                                },
                                green: {
                                    color: '#70DDA7'
                                },
                                yellow: {
                                    color: '#FEC735'
                                }
                            }
                        }
                    },
                    data: [1000, 2000]
                }

            ]
        }
    }
}
